package com.edu.study.base.stuQuestionCatalog.service;

import com.edu.study.base.stuQuestionCatalog.domain.StuQuestionCatalog;

import java.util.List;

/**
 * 题卷目录Service接口
 * 
 * @author jjt
 * @date 2021-05-18
 */
public interface IStuQuestionCatalogService 
{
    /**
     * 查询题卷目录
     * 
     * @param id 题卷目录ID
     * @return 题卷目录
     */
    public StuQuestionCatalog selectStuQuestionCatalogById(Long id);

    public StuQuestionCatalog selectTreeDataById(Long id);

    /**
     * 查询题卷目录列表
     * 
     * @param stuQuestionCatalog 题卷目录
     * @return 题卷目录集合
     */
    public List<StuQuestionCatalog> selectStuQuestionCatalogList(StuQuestionCatalog stuQuestionCatalog);
    public List<StuQuestionCatalog> selectQuestionCatalogList(StuQuestionCatalog stuQuestionCatalog);

    /**
     * 新增题卷目录
     * 
     * @param stuQuestionCatalog 题卷目录
     * @return 结果
     */
    public int insertStuQuestionCatalog(StuQuestionCatalog stuQuestionCatalog);

    /**
     * 修改题卷目录
     * 
     * @param stuQuestionCatalog 题卷目录
     * @return 结果
     */
    public int updateStuQuestionCatalog(StuQuestionCatalog stuQuestionCatalog);

    /**
     * 批量删除题卷目录
     * 
     * @param ids 需要删除的题卷目录ID
     * @return 结果
     */
    public int deleteStuQuestionCatalogByIds(Long[] ids);

    /**
     * 删除题卷目录信息
     * 
     * @param id 题卷目录ID
     * @return 结果
     */
    public int deleteStuQuestionCatalogById(Long id);

    StuQuestionCatalog selectTreeDataByName(String name);

    List<StuQuestionCatalog> selectByCatalogIds(List<Long> catalogIds);
}
